using FluentValidation;
using Gateway.IApplication.Tenant.Input;

namespace Gateway.IApplication.Tenant.Validation;

/// <summary>
/// 创建租户的验证
/// </summary>
public class UpdateTenantValidation : BaseTenantValidation<UpdateTenantInput>
{
    /// <summary>
    /// 
    /// </summary>
    public UpdateTenantValidation()
    {
        RuleFor(x => x.TenantId).NotEmpty().WithMessage("标识不能为空");
    }
}